<?php

namespace App\Http\Controllers;

use App\Models\System\Config;
use Illuminate\Http\JsonResponse;

class CommonController extends Controller
{
    /**
     * 启动前配置
     */
    public function config(): JsonResponse
    {
        $data = Config::getPublicKeyValue();

        return $this->success($data);
    }
}
